Skip to content

fix(build): on Windows the build tries once more when it stops (0.15.1) - #25

Merged
nodemode-ai merged 2 commits into
mainfrom
fix/windows-nsis-retry-0.15.1
Dec 1, 2026
Merged

nodemode-ai merged 2 commits into
mainfrom
fix/windows-nsis-retry-0.15.1

Conversation

@nodemode-ai

Copy link
Copy Markdown
Collaborator

fix(build): on Windows the build tries once more when it stops (0.15.1)

Summary

  • The 0.15.0 Windows release run built and signed the MSI, then stopped at Verifying NSIS package with failed to bundle project: hash mismatch of downloaded file.
  • Cause: a damaged download. The nsis-3.11.zip on GitHub has SHA-1 EF7FF767E5CBD9EDD22ADD3A32C9B8F4500BB10D, exactly what the pinned Tauri CLI 2.12.1 expects, so the file itself is fine and that run received a bad copy.
  • Fix: build_app.bat runs tauri build --bundles msi,nsis once more, after a 15 second pause, when the first run stops. Tauri checks the download in memory and writes nothing, so the second run downloads it again; the Rust side is already built, so the retry costs about a minute. A second stop goes to the usual failure message.
  • If the runner gets a damaged file every time, the retry will not help; NSIS would then have to be provided ahead of time in Tauri's tools folder.
  • Release 0.15.1. 0.15.0 was never published, so this release carries it too.

Commits

  • fix(build): on Windows the build tries the Tauri build once more when it stops
  • chore(release): 0.15.1

Version

v0.15.1 (release commit is last). Bumped the same sites as 0.15.0: Cargo.toml (workspace), the formmcp, formmcp-cli and formmcp-core entries of Cargo.lock, frontend/package.json and both own fields of frontend/package-lock.json, src-tauri/tauri.conf.json, the README badge, the wiki Home, the HASHOUT log heads of core, frontend, src-tauri, demo, demos/connect and demos/safety, and a CHANGELOG section. SECURITY.md already supports 0.15.x. The three demos were rebuilt; their script bundles also carry the family list merged after 0.15.0 (FormCraft 0.11.0, form.ext 0.12.2, FormVis 2.8.4).

Checks

  • The nsis-3.11.zip on GitHub, downloaded and hashed: matches the SHA-1 in tauri-bundler at @tauri-apps/cli-v2.12.1.
  • build_app.bat keeps CRLF line endings throughout.
  • npm ci, npm run build (tsc --noEmit and vite build), npm run build:demo, and tsc plus vite build for demos 2 and 3: passed.
  • cargo metadata --locked --no-deps: passed, all three crates read 0.15.1.
  • setup/family.py --check: in step. setup/notices.py --check: covers everything that ships. CI's em dash and emoji check: clean.

Not run: a Windows build or the retry path itself, cargo check, cargo test, a Tauri bundle build, CI.

Merging

Merge with a merge commit so each commit and its signature stays. Do not squash.

The short hashes change when the commits are signed.

… it stops

The Windows release run built and signed the MSI, then stopped at
"Verifying NSIS package" with "hash mismatch of downloaded file". The
nsis-3.11.zip on GitHub has exactly the SHA-1 that the pinned Tauri CLI
2.12.1 expects, so that run received a damaged download. Tauri checks the
download in memory and writes nothing, so a second tauri build downloads it
again; the Rust side is already built by then, so the retry costs about a
minute. A second stop goes to the usual failure message.
Version sites, the same as 0.15.0's: Cargo.toml (workspace), Cargo.lock
(formmcp, formmcp-cli, formmcp-core), frontend/package.json and
package-lock.json (own fields), src-tauri/tauri.conf.json, the README
badge, the wiki Home, the core, frontend, src-tauri, demo, demos/connect
and demos/safety HASHOUT log heads, and a new CHANGELOG entry for 0.15.1:
the Windows build retry, and a note that 0.15.0 was never published, so
this release carries its notes too. SECURITY.md already supports 0.15.x
and is unchanged.

All three demos rebuilt from this tip: demo 1 with npm run build:demo,
demos 2 and 3 with their own vite configs; the old script bundles are
removed, the style sheets came out the same. The new bundles also carry
the family list merged after 0.15.0 (FormCraft 0.11.0, form.ext 0.12.2,
FormVis 2.8.4). The README hero picture is not remade.

Run on this tree: npm ci, npm run build (tsc --noEmit and vite build),
npm run build:demo (tsc -p ../demo and vite build), tsc --noEmit and vite
build for demos 2 and 3, cargo metadata --locked --no-deps, setup/family.py
--check, setup/notices.py --check and the em dash and emoji check from CI.
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner December 1, 2026 03:25
@nodemode-ai
nodemode-ai merged commit 56420cc into main Dec 1, 2026
4 checks passed
@nodemode-ai
nodemode-ai deleted the fix/windows-nsis-retry-0.15.1 branch December 1, 2026 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant